package com.lesson7.classadapter;

/**
 * @author 朝花不迟暮
 * @version 1.0
 * @date 2020/8/29 17:13
 * 被适配的类，相当于他的Tpye—C接口
 */
public class VolTage220V
{
    public int output220V(){
        int src = 220;
        System.out.println("电压等于 "+src+" 伏");
        return src;
    }
}
